weight = eval(input("请输入体重(kg):"))
height = eval(input("请输入身高(cm):")) / 100
BMI = weight / (height * height)
print("你的BMI为：{:.2f}".format(BMI))
if BMI < 18.5:
    print("过轻")
elif 18.5 <= BMI < 25:
    print("正常")
elif 25 <= BMI < 28:
    print("过重")
elif 28 <= BMI < 32:
    print("肥胖")
elif 32 <= BMI:
    print("严重肥胖")
else:
    print("?")
